import React, { Component } from 'react'
import { NavBar, Icon, } from "antd-mobile"
import "./GoodList.css";
export default class GoodList extends Component {
    constructor(props) {
        super(props);
        console.log(props);
        console.log(props.match.params.id);//id
    }
    render() {
        return (

            <div className="yg-gl">
                <div className="yg-gl-nav">
                    <NavBar
                        icon={<Icon type="left" />}
                        onLeftClick={() => window.history.go(-1)}
                    >商品列表</NavBar>
                </div>
            </div>

        )
    }
}
